import React from 'react';
import ReactDOM from 'react-dom';

import 'react-datepicker/dist/react-datepicker.css';
import 'react-bootstrap-table/dist/react-bootstrap-table-all.min.css';

import Header from '../components/header/Header';

import '../assets/styles/theme.less';

const navs = [{
  name: '总览',
  url: '/home',
}, {
  name: '数据上传',
  url: '/upload_data',
}, {
  name: '服务共享',
  url: '/share_service',
}, {
  name: '索引同步',
  url: '/sync_index',
}];

ReactDOM.render(
  <Header home="监控系统" navs={navs} />,
  document.getElementById('header'),
);
